<!DOCTYPE html>
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control"  content="no-transform">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>账户记录</title>
    <link href="/statics/view/css/yy_common.css" rel="stylesheet">
    <link href="/statics/view/css/yy_user.css" rel="stylesheet">
    <style type="text/css">
        .time span{
            padding: 3px;
            background: #cc0000;
            color: #ffffff;
        }
        </style>
<body>
<div class="m-user">
    <div class="m-simpleHeader" id="dvHeader">
        <a href="/dMember/main" data-pro="back" data-back="true" class="m-simpleHeader-back"><i class="ico ico-back"></i></a>
        <a href="/dMember/recharge" data-pro="ok" class="m-simpleHeader-ok">充值</a>
        <h1>账户记录</h1>
    </div>
    <div class="m-user-chargeRecord">
        [#--<div class="remark">
            <p class="item">目前仅提供最近三个月的账户记录。</p>
        </div>--]
        <div id="dvWrapper">
            <div id="pro-view-2">
                <div data-pro="loading"></div>
                <div class="list" data-pro="list">
                   [#list recordList as trade]
                       <div class="item">
                           <p class="from">${trade.remarks}</p>
                           <p class="time">
                               [#if trade.tradeCat==0]<span>充值</span>[/#if]
                               [#if trade.tradeCat==1]<span>转账</span>[/#if]
                               [#if trade.tradeCat==2]<span>购物</span>[/#if]
                               [#if trade.tradeCat==4]<span>退款</span>[/#if]
                               时间:${trade.createDate?string("yyyy-MM-dd HH:mm:ss")}
                           </p>
                           <p class="num">
                               [#if trade.type==0]
                                   -[#else]+
                               [/#if]
                               ￥${trade.fee}
                           </p>
                       </div>
                   [/#list]
                </div>
            </div>
        </div>
    </div>
</div>
<script src="//cdn.bootcss.com/jquery/2.1.0/jquery.min.js"></script>
<script src="/statics/view/js/db.js"></script>
</body>
</html>